Package com.cisco.pt.ipc.sim.pdu.impl
Class DHCPv6OptionIANAImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.DHCPv6OptionImpl
com.cisco.pt.ipc.sim.pdu.impl.DHCPv6OptionIANAImpl
- All Implemented Interfaces:
IPCData,DHCPv6Option,DHCPv6OptionIANA,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected List<DHCPv6Option>protected intprotected intFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.DHCPv6OptionImpl
length, optionCodeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intgetIAID()intgetT1()intgetT2()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetIAID(int IAID) voidsetIANAOptions(List<DHCPv6Option> IANAOptions) voidsetT1(int T1) voidsetT2(int T2) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.DHCPv6OptionImpl
getLength, getOptionCode, setLength, setOptionCodeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.DHCPv6Option
getLength, getOptionCode, setLength, setOptionCodeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
IAID
protected int IAID -
T1
protected int T1 -
T2
protected int T2 -
IANAOptions
-
-
Constructor Details
-
DHCPv6OptionIANAImpl
public DHCPv6OptionIANAImpl()
-
-
Method Details
-
getIAID
public int getIAID()- Specified by:
getIAIDin interfaceDHCPv6OptionIANA- Returns:
- int Returns a int
-
setIAID
public void setIAID(int IAID) - Specified by:
setIAIDin interfaceDHCPv6OptionIANA- Parameters:
IAID- Takes in a parameter of IAID
-
getT1
public int getT1()- Specified by:
getT1in interfaceDHCPv6OptionIANA- Returns:
- int Returns a int
-
setT1
public void setT1(int T1) - Specified by:
setT1in interfaceDHCPv6OptionIANA- Parameters:
T1- Takes in a parameter of T1
-
getT2
public int getT2()- Specified by:
getT2in interfaceDHCPv6OptionIANA- Returns:
- int Returns a int
-
setT2
public void setT2(int T2) - Specified by:
setT2in interfaceDHCPv6OptionIANA- Parameters:
T2- Takes in a parameter of T2
-
getIANAOptions
- Specified by:
getIANAOptionsin interfaceDHCPv6OptionIANA- Returns:
- List<DHCPv6Option> Returns a List<DHCPv6Option>
-
setIANAOptions
- Specified by:
setIANAOptionsin interfaceDHCPv6OptionIANA- Parameters:
IANAOptions- Takes in a parameter of IANAOptions
-
getFieldType
- Overrides:
getFieldTypein classDHCPv6OptionImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classDHCPv6OptionImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classDHCPv6OptionImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classDHCPv6OptionImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classDHCPv6OptionImpl
-